<template>
  <div>
    <h1>详情</h1>
    <a>{{movies.name}}</a>
    <a><img :src="'http://127.0.0.1:8000'+movies.img" alt="" style="width:200px;height:200px;"></a>
    <a>{{movies.actor}}</a>
   
   
  </div>
</template>

<script>
export default {

  data () {
    return {
        movies:{},
        mid:this.$route.params.mid
    }
  },
  created(){
      this.axios({
          url:'http://127.0.0.1:8000/app01/show/',
          method:'get',
          params:{'cid':this.cid}
      }).then(res=>{
          console.log(res)
          this.movie=res.data
      })
  }
}
</script>

<style>

</style>